package cn.tedu.cake.shop.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("bread")
public class Bread implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    private String des;
    private String info;
    private BigDecimal price;
    private Integer saleCount;
    private String url;
    private Integer typeId;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;
}
